#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTimer>
#include <QUdpSocket>
#include <QDateTime>

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

    QTimer *timer;
    QUdpSocket *socket;


public slots:
    void sendData();
    void readData();
    void timeout();
};

#endif // MAINWINDOW_H
